package com.zx.mes.disruptor.hyl.heigh;


import com.lmax.disruptor.EventHandler;
import com.zx.mes.disruptor.hyl.heigh.TradeEvent;

/**
 * trade event handler
 *
 * @author huayunlong
 * @date 2018-9-7
 */
public class TradeHandler2 implements EventHandler<TradeEvent> {

    @Override
    public void onEvent(TradeEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("---> 2 处理 <---");
        Thread.sleep(1000);
    }
}
